<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: kern/trap/trap.c 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_b3dad8e81b3f37b89b2bf0a8abb2d993.html">kern</a></li><li class="navelem"><a class="el" href="dir_b8f2dae4ea594b8b07165fff81a63733.html">trap</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#define-members">宏定义</a> &#124;
<a href="#func-members">函数</a> &#124;
<a href="#var-members">变量</a>  </div>
  <div class="headertitle">
<div class="title">trap.c 文件参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="assert_8h_source.html">assert.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="clock_8h_source.html">clock.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="console_8h_source.html">console.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="defs_8h_source.html">defs.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="kdebug_8h_source.html">kdebug.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="memlayout_8h_source.html">memlayout.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="mmu_8h_source.html">mmu.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="stdio_8h_source.html">stdio.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="swap_8h_source.html">swap.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="trap_8h_source.html">trap.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="vmm_8h_source.html">vmm.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="riscv_8h_source.html">riscv.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="sbi_8h_source.html">sbi.h</a>&gt;</code><br />
</div><div class="textblock"><div class="dynheader">
trap.c 的引用(Include)关系图:</div>
<div class="dyncontent">
<div class="center"><img src="trap_8c__incl.gif" border="0" usemap="#akern_2trap_2trap_8c" alt=""/></div>
<map name="akern_2trap_2trap_8c" id="akern_2trap_2trap_8c">
<area shape="rect" title=" " alt="" coords="591,5,712,32"/>
<area shape="rect" href="assert_8h.html" title=" " alt="" coords="141,229,215,256"/>
<area shape="rect" href="defs_8h.html" title=" " alt="" coords="517,379,580,405"/>
<area shape="rect" href="clock_8h.html" title=" " alt="" coords="985,229,1053,256"/>
<area shape="rect" href="console_8h.html" title=" " alt="" coords="1128,80,1212,107"/>
<area shape="rect" href="kdebug_8h.html" title=" " alt="" coords="73,80,155,107"/>
<area shape="rect" href="trap_8h.html" title=" " alt="" coords="5,155,65,181"/>
<area shape="rect" href="memlayout_8h.html" title=" " alt="" coords="493,229,602,256"/>
<area shape="rect" href="mmu_8h.html" title=" " alt="" coords="340,304,408,331"/>
<area shape="rect" href="stdio_8h.html" title=" " alt="" coords="1037,80,1103,107"/>
<area shape="rect" href="swap_8h.html" title=" " alt="" coords="473,80,541,107"/>
<area shape="rect" href="vmm_8h.html" title=" " alt="" coords="617,155,685,181"/>
<area shape="rect" href="riscv_8h.html" title=" " alt="" coords="745,304,809,331"/>
<area shape="rect" href="sbi_8h.html" title=" " alt="" coords="857,155,910,181"/>
<area shape="rect" href="atomic_8h.html" title=" " alt="" coords="432,304,511,331"/>
<area shape="rect" href="list_8h.html" title=" " alt="" coords="587,304,641,331"/>
<area shape="rect" href="stdarg_8h.html" title=" " alt="" coords="1035,155,1110,181"/>
<area shape="rect" href="pmm_8h.html" title=" " alt="" coords="409,155,477,181"/>
<area shape="rect" href="sync_8h.html" title=" " alt="" coords="677,229,741,256"/>
<area shape="rect" href="intr_8h.html" title=" " alt="" coords="665,304,720,331"/>
</map>
</div>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
宏定义</h2></td></tr>
<tr class="memitem:ae530b51029e0a83b66f718c3caed947a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="trap_8c.html#ae530b51029e0a83b66f718c3caed947a">TICK_NUM</a>&#160;&#160;&#160;100</td></tr>
<tr class="separator:ae530b51029e0a83b66f718c3caed947a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:a054a781fe22a8dd2742fd3e4198b0151"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="trap_8c.html#a054a781fe22a8dd2742fd3e4198b0151">print_ticks</a> ()</td></tr>
<tr class="separator:a054a781fe22a8dd2742fd3e4198b0151"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a164d38a0163ec2c36993b803b8c7fdcb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="trap_8c.html#a164d38a0163ec2c36993b803b8c7fdcb">idt_init</a> (void)</td></tr>
<tr class="separator:a164d38a0163ec2c36993b803b8c7fdcb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7c9900010d48015646e0b362ae4957c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="defs_8h.html#a1062901a7428fdd9c7f180f5e01ea056">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="trap_8c.html#ac7c9900010d48015646e0b362ae4957c">trap_in_kernel</a> (struct <a class="el" href="structtrapframe.html">trapframe</a> *tf)</td></tr>
<tr class="separator:ac7c9900010d48015646e0b362ae4957c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51e89e35288406d1ebf6a5d55a308d1e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="trap_8c.html#a51e89e35288406d1ebf6a5d55a308d1e">print_trapframe</a> (struct <a class="el" href="structtrapframe.html">trapframe</a> *tf)</td></tr>
<tr class="separator:a51e89e35288406d1ebf6a5d55a308d1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed5fcbe1cf5c802e902b9e7a6ca527ab"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="trap_8c.html#aed5fcbe1cf5c802e902b9e7a6ca527ab">print_regs</a> (struct <a class="el" href="structpushregs.html">pushregs</a> *gpr)</td></tr>
<tr class="separator:aed5fcbe1cf5c802e902b9e7a6ca527ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa56d83a49e9166acf9e6a07358588321"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="trap_8c.html#aa56d83a49e9166acf9e6a07358588321">print_pgfault</a> (struct <a class="el" href="structtrapframe.html">trapframe</a> *tf)</td></tr>
<tr class="separator:aa56d83a49e9166acf9e6a07358588321"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a52ce92f648fa34b3877351b9f8240f98"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="trap_8c.html#a52ce92f648fa34b3877351b9f8240f98">pgfault_handler</a> (struct <a class="el" href="structtrapframe.html">trapframe</a> *tf)</td></tr>
<tr class="separator:a52ce92f648fa34b3877351b9f8240f98"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7fe8b44139e05bbd2fdcdef5d616f3e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="trap_8c.html#ae7fe8b44139e05bbd2fdcdef5d616f3e">interrupt_handler</a> (struct <a class="el" href="structtrapframe.html">trapframe</a> *tf)</td></tr>
<tr class="separator:ae7fe8b44139e05bbd2fdcdef5d616f3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b7dec2ed35d681fdbe2fe46afb695a5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="trap_8c.html#a9b7dec2ed35d681fdbe2fe46afb695a5">exception_handler</a> (struct <a class="el" href="structtrapframe.html">trapframe</a> *tf)</td></tr>
<tr class="separator:a9b7dec2ed35d681fdbe2fe46afb695a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a372d166e36c086c91e5f5d81e5fead3a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="trap_8c.html#a372d166e36c086c91e5f5d81e5fead3a">trap</a> (struct <a class="el" href="structtrapframe.html">trapframe</a> *tf)</td></tr>
<tr class="separator:a372d166e36c086c91e5f5d81e5fead3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
变量</h2></td></tr>
<tr class="memitem:a88bf41b5c89592099afe02c4c5f68c4c"><td class="memItemLeft" align="right" valign="top">volatile <a class="el" href="defs_8h.html#afeaa5ef46acd844422607ca6602691ef">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="trap_8c.html#a88bf41b5c89592099afe02c4c5f68c4c">num</a> = 0</td></tr>
<tr class="separator:a88bf41b5c89592099afe02c4c5f68c4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9dd14a5d82c2ca25ef47e6744d61d39b"><td class="memItemLeft" align="right" valign="top">static volatile int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="trap_8c.html#a9dd14a5d82c2ca25ef47e6744d61d39b">in_swap_tick_event</a> = 0</td></tr>
<tr class="separator:a9dd14a5d82c2ca25ef47e6744d61d39b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87e75b265002e137d80386653305d70a"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structmm__struct.html">mm_struct</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="trap_8c.html#a87e75b265002e137d80386653305d70a">check_mm_struct</a></td></tr>
<tr class="separator:a87e75b265002e137d80386653305d70a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">宏定义说明</h2>
<a id="ae530b51029e0a83b66f718c3caed947a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae530b51029e0a83b66f718c3caed947a">&#9670;&nbsp;</a></span>TICK_NUM</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TICK_NUM&#160;&#160;&#160;100</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">函数说明</h2>
<a id="a9b7dec2ed35d681fdbe2fe46afb695a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9b7dec2ed35d681fdbe2fe46afb695a5">&#9670;&nbsp;</a></span>exception_handler()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void exception_handler </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structtrapframe.html">trapframe</a> *&#160;</td>
          <td class="paramname"><em>tf</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="trap_8c_a9b7dec2ed35d681fdbe2fe46afb695a5_cgraph.gif" border="0" usemap="#atrap_8c_a9b7dec2ed35d681fdbe2fe46afb695a5_cgraph" alt=""/></div>
<map name="atrap_8c_a9b7dec2ed35d681fdbe2fe46afb695a5_cgraph" id="atrap_8c_a9b7dec2ed35d681fdbe2fe46afb695a5_cgraph">
<area shape="rect" title=" " alt="" coords="5,722,148,749"/>
<area shape="rect" href="stdio_8c.html#ab5c1b009763ca6674c08b6241dad015c" title=" " alt="" coords="1129,697,1193,723"/>
<area shape="rect" href="trap_8c.html#a52ce92f648fa34b3877351b9f8240f98" title=" " alt="" coords="196,646,320,673"/>
<area shape="rect" href="trap_8c.html#a51e89e35288406d1ebf6a5d55a308d1e" title=" " alt="" coords="724,773,848,799"/>
<area shape="rect" href="stdio_8c.html#a6d5854f463c39b8d25aaa127b216832e" title=" " alt="" coords="1285,697,1357,723"/>
<area shape="rect" href="stdio_8c.html#ae98dcd3b1f9718f15a600d22a69a2e9a" title=" " alt="" coords="1435,659,1501,686"/>
<area shape="rect" href="printfmt_8c.html#a6434f2b779b5ede2adc31ee4f7d64198" title=" " alt="" coords="1427,722,1509,749"/>
<area shape="rect" href="console_8c.html#a9a405546ecd1991ece1431da216e64f2" title=" " alt="" coords="1557,570,1644,597"/>
<area shape="rect" href="sbi_8h.html#a99638b95984187102dd50b1d0b430d3b" title=" " alt="" coords="1692,570,1847,597"/>
<area shape="rect" href="printfmt_8c.html#a7b1e12e09f757ca234758afb4d704db8" title=" " alt="" coords="1571,671,1631,698"/>
<area shape="rect" href="printfmt_8c.html#a934736e8473edc7ac3a20c613ae5f732" title=" " alt="" coords="1567,722,1635,749"/>
<area shape="rect" href="printfmt_8c.html#ad7d3bbf7612143a989ce3e9d1bfebf87" title=" " alt="" coords="1563,773,1638,799"/>
<area shape="rect" href="printfmt_8c.html#a51595febac146e7d189948ebb27e6768" title=" " alt="" coords="1560,823,1641,850"/>
<area shape="rect" href="string_8c.html#a732f92b81474cfb653776be70bc7f1c7" title=" " alt="" coords="1567,621,1634,647"/>
<area shape="rect" href="vmm_8c.html#a76083b4b497bc14110c89b222892e5a9" title=" " alt="" coords="375,443,466,470"/>
<area shape="rect" href="trap_8c.html#aa56d83a49e9166acf9e6a07358588321" title=" " alt="" coords="368,646,473,673"/>
<area shape="rect" href="vmm_8c.html#a453bc43e9e111b76d167f3e8fa3010ef" title=" " alt="" coords="546,211,629,238"/>
<area shape="rect" href="pmm_8c.html#a02acb8e4d598f04b9655befb6029d19c" title=" " alt="" coords="1125,411,1196,438"/>
<area shape="rect" href="pmm_8c.html#a6fa283dec28e3409f8f4b6d35860cb4b" title=" " alt="" coords="737,247,835,274"/>
<area shape="rect" href="pmm_8c.html#a682ec852da4ba9f942d14dd940c9dc50" title=" " alt="" coords="521,355,653,382"/>
<area shape="rect" href="swap_8c.html#ab3052457b47fe22e700ce9d6620b4485" title=" " alt="" coords="701,469,871,495"/>
<area shape="rect" href="swap_8c.html#af3058f8798ac6b061b6a6ca528ac9932" title=" " alt="" coords="951,519,1025,546"/>
<area shape="rect" href="list_8h.html#a2a5579d68c706f9ed5103fef6efe8e0a" title=" " alt="" coords="747,197,825,223"/>
<area shape="rect" href="string_8c.html#a2be8ba378058c555790b0328c2500a63" title=" " alt="" coords="1283,443,1359,470"/>
<area shape="rect" href="pmm_8h.html#ab517d995357f15a4c66fb27a510eb374" title=" " alt="" coords="1429,494,1507,521"/>
<area shape="rect" href="pmm_8h.html#aaf54bae0ec07dff85b828139f157626d" title=" " alt="" coords="1557,342,1644,369"/>
<area shape="rect" href="pmm_8h.html#a90435beaeea486ae0208f68941db36a2" title=" " alt="" coords="1276,291,1367,318"/>
<area shape="rect" href="pmm_8h.html#a1e526abf140359344dbd9ea214f53694" title=" " alt="" coords="1268,393,1375,419"/>
<area shape="rect" href="pmm_8h.html#aae21a67a56c29b89be9fd3e8eef6a034" title=" " alt="" coords="1106,133,1215,159"/>
<area shape="rect" href="pmm_8h.html#a9ebfb8f851299c3580b73617eb99237b" title=" " alt="" coords="935,247,1041,274"/>
<area shape="rect" href="pmm_8c.html#a047ec20d182919d237ee4bf278b4695b" title=" " alt="" coords="919,146,1057,173"/>
<area shape="rect" href="pmm_8h.html#abd8a44beb459c14597658dbdc0e18881" title=" " alt="" coords="1119,57,1202,83"/>
<area shape="rect" href="pmm_8c.html#a3a6a3f83d69815b453aea9121f46a6ed" title=" " alt="" coords="1105,190,1216,217"/>
<area shape="rect" href="pmm_8h.html#ad8e136c060561748245105389a3a40c5" title=" " alt="" coords="1121,349,1200,375"/>
<area shape="rect" href="pmm_8h.html#a9eb3d05d35adc23aa957c07d5ef5ed4e" title=" " alt="" coords="1282,57,1361,83"/>
<area shape="rect" href="pmm_8h.html#af481d80989da3c646996210195814878" title=" " alt="" coords="1283,190,1360,217"/>
<area shape="rect" href="swapfs_8c.html#a351ae62e17ae15d0be227ee49b1b526f" title=" " alt="" coords="1109,545,1213,571"/>
<area shape="rect" href="ide_8c.html#aa3e3300bda460455ef67f4f0b7861e5f" title=" " alt="" coords="1264,595,1379,622"/>
<area shape="rect" href="pmm_8h.html#a3aa177386346f37eaadf16359ef44da7" title=" " alt="" coords="1278,545,1365,571"/>
<area shape="rect" href="string_8c.html#a18d9a75dd16f2db6609538cb4ddedaf1" title=" " alt="" coords="1429,595,1507,622"/>
<area shape="rect" href="trap_8c.html#ac7c9900010d48015646e0b362ae4957c" title=" " alt="" coords="530,671,645,698"/>
<area shape="rect" href="trap_8c.html#aed5fcbe1cf5c802e902b9e7a6ca527ab" title=" " alt="" coords="945,823,1031,850"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="trap_8c_a9b7dec2ed35d681fdbe2fe46afb695a5_icgraph.gif" border="0" usemap="#atrap_8c_a9b7dec2ed35d681fdbe2fe46afb695a5_icgraph" alt=""/></div>
<map name="atrap_8c_a9b7dec2ed35d681fdbe2fe46afb695a5_icgraph" id="atrap_8c_a9b7dec2ed35d681fdbe2fe46afb695a5_icgraph">
<area shape="rect" title=" " alt="" coords="101,5,244,32"/>
<area shape="rect" href="trap_8c.html#a372d166e36c086c91e5f5d81e5fead3a" title=" " alt="" coords="5,5,53,32"/>
</map>
</div>

</div>
</div>
<a id="a164d38a0163ec2c36993b803b8c7fdcb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a164d38a0163ec2c36993b803b8c7fdcb">&#9670;&nbsp;</a></span>idt_init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void idt_init </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ae7fe8b44139e05bbd2fdcdef5d616f3e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae7fe8b44139e05bbd2fdcdef5d616f3e">&#9670;&nbsp;</a></span>interrupt_handler()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void interrupt_handler </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structtrapframe.html">trapframe</a> *&#160;</td>
          <td class="paramname"><em>tf</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="trap_8c_ae7fe8b44139e05bbd2fdcdef5d616f3e_cgraph.gif" border="0" usemap="#atrap_8c_ae7fe8b44139e05bbd2fdcdef5d616f3e_cgraph" alt=""/></div>
<map name="atrap_8c_ae7fe8b44139e05bbd2fdcdef5d616f3e_cgraph" id="atrap_8c_ae7fe8b44139e05bbd2fdcdef5d616f3e_cgraph">
<area shape="rect" title=" " alt="" coords="5,157,140,184"/>
<area shape="rect" href="clock_8c.html#a0064fb05d818581e3d12c5c017960715" title=" " alt="" coords="188,56,351,83"/>
<area shape="rect" href="stdio_8c.html#ab5c1b009763ca6674c08b6241dad015c" title=" " alt="" coords="557,183,621,209"/>
<area shape="rect" href="trap_8c.html#a054a781fe22a8dd2742fd3e4198b0151" title=" " alt="" coords="409,157,499,184"/>
<area shape="rect" href="trap_8c.html#a51e89e35288406d1ebf6a5d55a308d1e" title=" " alt="" coords="207,208,331,235"/>
<area shape="rect" href="sbi_8h.html#acbd5e0e986d32c6eabf1909475a3ce6f" title=" " alt="" coords="214,259,325,285"/>
<area shape="rect" href="clock_8c.html#a71e720e6a1768a304f7244166ec8e042" title=" " alt="" coords="409,5,499,32"/>
<area shape="rect" href="sbi_8h.html#a07a40f8f344547fdc7396af43ea3f851" title=" " alt="" coords="399,56,509,83"/>
<area shape="rect" href="stdio_8c.html#a6d5854f463c39b8d25aaa127b216832e" title=" " alt="" coords="669,183,741,209"/>
<area shape="rect" href="stdio_8c.html#ae98dcd3b1f9718f15a600d22a69a2e9a" title=" " alt="" coords="798,107,863,133"/>
<area shape="rect" href="printfmt_8c.html#a6434f2b779b5ede2adc31ee4f7d64198" title=" " alt="" coords="789,208,872,235"/>
<area shape="rect" href="console_8c.html#a9a405546ecd1991ece1431da216e64f2" title=" " alt="" coords="920,56,1007,83"/>
<area shape="rect" href="sbi_8h.html#a99638b95984187102dd50b1d0b430d3b" title=" " alt="" coords="1055,56,1209,83"/>
<area shape="rect" href="printfmt_8c.html#a7b1e12e09f757ca234758afb4d704db8" title=" " alt="" coords="933,107,993,133"/>
<area shape="rect" href="printfmt_8c.html#a934736e8473edc7ac3a20c613ae5f732" title=" " alt="" coords="929,157,997,184"/>
<area shape="rect" href="printfmt_8c.html#ad7d3bbf7612143a989ce3e9d1bfebf87" title=" " alt="" coords="926,208,1001,235"/>
<area shape="rect" href="printfmt_8c.html#a51595febac146e7d189948ebb27e6768" title=" " alt="" coords="923,259,1004,285"/>
<area shape="rect" href="string_8c.html#a732f92b81474cfb653776be70bc7f1c7" title=" " alt="" coords="930,309,997,336"/>
<area shape="rect" href="trap_8c.html#aed5fcbe1cf5c802e902b9e7a6ca527ab" title=" " alt="" coords="411,259,497,285"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="trap_8c_ae7fe8b44139e05bbd2fdcdef5d616f3e_icgraph.gif" border="0" usemap="#atrap_8c_ae7fe8b44139e05bbd2fdcdef5d616f3e_icgraph" alt=""/></div>
<map name="atrap_8c_ae7fe8b44139e05bbd2fdcdef5d616f3e_icgraph" id="atrap_8c_ae7fe8b44139e05bbd2fdcdef5d616f3e_icgraph">
<area shape="rect" title=" " alt="" coords="101,5,236,32"/>
<area shape="rect" href="trap_8c.html#a372d166e36c086c91e5f5d81e5fead3a" title=" " alt="" coords="5,5,53,32"/>
</map>
</div>

</div>
</div>
<a id="a52ce92f648fa34b3877351b9f8240f98"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a52ce92f648fa34b3877351b9f8240f98">&#9670;&nbsp;</a></span>pgfault_handler()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int pgfault_handler </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structtrapframe.html">trapframe</a> *&#160;</td>
          <td class="paramname"><em>tf</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="trap_8c_a52ce92f648fa34b3877351b9f8240f98_cgraph.gif" border="0" usemap="#atrap_8c_a52ce92f648fa34b3877351b9f8240f98_cgraph" alt=""/></div>
<map name="atrap_8c_a52ce92f648fa34b3877351b9f8240f98_cgraph" id="atrap_8c_a52ce92f648fa34b3877351b9f8240f98_cgraph">
<area shape="rect" title=" " alt="" coords="5,573,129,600"/>
<area shape="rect" href="vmm_8c.html#a76083b4b497bc14110c89b222892e5a9" title=" " alt="" coords="185,472,275,499"/>
<area shape="rect" href="trap_8c.html#aa56d83a49e9166acf9e6a07358588321" title=" " alt="" coords="177,649,283,676"/>
<area shape="rect" href="stdio_8c.html#ab5c1b009763ca6674c08b6241dad015c" title=" " alt="" coords="938,605,1002,632"/>
<area shape="rect" href="vmm_8c.html#a453bc43e9e111b76d167f3e8fa3010ef" title=" " alt="" coords="355,227,438,253"/>
<area shape="rect" href="pmm_8c.html#a02acb8e4d598f04b9655befb6029d19c" title=" " alt="" coords="935,420,1005,447"/>
<area shape="rect" href="pmm_8c.html#a6fa283dec28e3409f8f4b6d35860cb4b" title=" " alt="" coords="546,252,645,279"/>
<area shape="rect" href="pmm_8c.html#a682ec852da4ba9f942d14dd940c9dc50" title=" " alt="" coords="331,375,463,401"/>
<area shape="rect" href="swap_8c.html#ab3052457b47fe22e700ce9d6620b4485" title=" " alt="" coords="511,497,680,524"/>
<area shape="rect" href="swap_8c.html#af3058f8798ac6b061b6a6ca528ac9932" title=" " alt="" coords="760,536,835,563"/>
<area shape="rect" href="stdio_8c.html#a6d5854f463c39b8d25aaa127b216832e" title=" " alt="" coords="1095,631,1167,657"/>
<area shape="rect" href="stdio_8c.html#ae98dcd3b1f9718f15a600d22a69a2e9a" title=" " alt="" coords="1245,631,1310,657"/>
<area shape="rect" href="printfmt_8c.html#a6434f2b779b5ede2adc31ee4f7d64198" title=" " alt="" coords="1236,707,1319,733"/>
<area shape="rect" href="console_8c.html#a9a405546ecd1991ece1431da216e64f2" title=" " alt="" coords="1367,605,1453,632"/>
<area shape="rect" href="sbi_8h.html#a99638b95984187102dd50b1d0b430d3b" title=" " alt="" coords="1501,605,1656,632"/>
<area shape="rect" href="printfmt_8c.html#a7b1e12e09f757ca234758afb4d704db8" title=" " alt="" coords="1380,859,1440,885"/>
<area shape="rect" href="printfmt_8c.html#a934736e8473edc7ac3a20c613ae5f732" title=" " alt="" coords="1376,656,1444,683"/>
<area shape="rect" href="printfmt_8c.html#ad7d3bbf7612143a989ce3e9d1bfebf87" title=" " alt="" coords="1373,707,1447,733"/>
<area shape="rect" href="printfmt_8c.html#a51595febac146e7d189948ebb27e6768" title=" " alt="" coords="1369,757,1451,784"/>
<area shape="rect" href="string_8c.html#a732f92b81474cfb653776be70bc7f1c7" title=" " alt="" coords="1377,808,1443,835"/>
<area shape="rect" href="list_8h.html#a2a5579d68c706f9ed5103fef6efe8e0a" title=" " alt="" coords="556,201,635,228"/>
<area shape="rect" href="string_8c.html#a2be8ba378058c555790b0328c2500a63" title=" " alt="" coords="1093,327,1169,353"/>
<area shape="rect" href="pmm_8h.html#ab517d995357f15a4c66fb27a510eb374" title=" " alt="" coords="1238,479,1317,505"/>
<area shape="rect" href="pmm_8h.html#aaf54bae0ec07dff85b828139f157626d" title=" " alt="" coords="1367,377,1453,404"/>
<area shape="rect" href="pmm_8h.html#a90435beaeea486ae0208f68941db36a2" title=" " alt="" coords="1085,276,1176,303"/>
<area shape="rect" href="pmm_8h.html#a1e526abf140359344dbd9ea214f53694" title=" " alt="" coords="1077,428,1184,455"/>
<area shape="rect" href="pmm_8h.html#aae21a67a56c29b89be9fd3e8eef6a034" title=" " alt="" coords="915,125,1025,152"/>
<area shape="rect" href="pmm_8h.html#a9ebfb8f851299c3580b73617eb99237b" title=" " alt="" coords="745,252,850,279"/>
<area shape="rect" href="pmm_8c.html#a047ec20d182919d237ee4bf278b4695b" title=" " alt="" coords="728,100,867,127"/>
<area shape="rect" href="pmm_8h.html#abd8a44beb459c14597658dbdc0e18881" title=" " alt="" coords="929,5,1011,32"/>
<area shape="rect" href="pmm_8c.html#a3a6a3f83d69815b453aea9121f46a6ed" title=" " alt="" coords="915,63,1025,89"/>
<area shape="rect" href="pmm_8h.html#ad8e136c060561748245105389a3a40c5" title=" " alt="" coords="931,353,1009,380"/>
<area shape="rect" href="pmm_8h.html#a9eb3d05d35adc23aa957c07d5ef5ed4e" title=" " alt="" coords="1091,5,1170,32"/>
<area shape="rect" href="pmm_8h.html#af481d80989da3c646996210195814878" title=" " alt="" coords="1092,63,1169,89"/>
<area shape="rect" href="swapfs_8c.html#a351ae62e17ae15d0be227ee49b1b526f" title=" " alt="" coords="918,536,1022,563"/>
<area shape="rect" href="ide_8c.html#aa3e3300bda460455ef67f4f0b7861e5f" title=" " alt="" coords="1073,580,1188,607"/>
<area shape="rect" href="pmm_8h.html#a3aa177386346f37eaadf16359ef44da7" title=" " alt="" coords="1087,529,1174,556"/>
<area shape="rect" href="string_8c.html#a18d9a75dd16f2db6609538cb4ddedaf1" title=" " alt="" coords="1238,580,1317,607"/>
<area shape="rect" href="trap_8c.html#ac7c9900010d48015646e0b362ae4957c" title=" " alt="" coords="339,700,454,727"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="trap_8c_a52ce92f648fa34b3877351b9f8240f98_icgraph.gif" border="0" usemap="#atrap_8c_a52ce92f648fa34b3877351b9f8240f98_icgraph" alt=""/></div>
<map name="atrap_8c_a52ce92f648fa34b3877351b9f8240f98_icgraph" id="atrap_8c_a52ce92f648fa34b3877351b9f8240f98_icgraph">
<area shape="rect" title=" " alt="" coords="292,5,416,32"/>
<area shape="rect" href="trap_8c.html#a9b7dec2ed35d681fdbe2fe46afb695a5" title=" " alt="" coords="101,5,244,32"/>
<area shape="rect" href="trap_8c.html#a372d166e36c086c91e5f5d81e5fead3a" title=" " alt="" coords="5,5,53,32"/>
</map>
</div>

</div>
</div>
<a id="aa56d83a49e9166acf9e6a07358588321"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa56d83a49e9166acf9e6a07358588321">&#9670;&nbsp;</a></span>print_pgfault()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void print_pgfault </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structtrapframe.html">trapframe</a> *&#160;</td>
          <td class="paramname"><em>tf</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="trap_8c_aa56d83a49e9166acf9e6a07358588321_cgraph.gif" border="0" usemap="#atrap_8c_aa56d83a49e9166acf9e6a07358588321_cgraph" alt=""/></div>
<map name="atrap_8c_aa56d83a49e9166acf9e6a07358588321_cgraph" id="atrap_8c_aa56d83a49e9166acf9e6a07358588321_cgraph">
<area shape="rect" title=" " alt="" coords="5,157,111,184"/>
<area shape="rect" href="stdio_8c.html#ab5c1b009763ca6674c08b6241dad015c" title=" " alt="" coords="184,132,248,159"/>
<area shape="rect" href="trap_8c.html#ac7c9900010d48015646e0b362ae4957c" title=" " alt="" coords="159,183,273,209"/>
<area shape="rect" href="stdio_8c.html#a6d5854f463c39b8d25aaa127b216832e" title=" " alt="" coords="321,132,393,159"/>
<area shape="rect" href="stdio_8c.html#ae98dcd3b1f9718f15a600d22a69a2e9a" title=" " alt="" coords="450,56,515,83"/>
<area shape="rect" href="printfmt_8c.html#a6434f2b779b5ede2adc31ee4f7d64198" title=" " alt="" coords="441,157,524,184"/>
<area shape="rect" href="console_8c.html#a9a405546ecd1991ece1431da216e64f2" title=" " alt="" coords="572,5,659,32"/>
<area shape="rect" href="sbi_8h.html#a99638b95984187102dd50b1d0b430d3b" title=" " alt="" coords="707,5,861,32"/>
<area shape="rect" href="printfmt_8c.html#a7b1e12e09f757ca234758afb4d704db8" title=" " alt="" coords="585,56,645,83"/>
<area shape="rect" href="printfmt_8c.html#a934736e8473edc7ac3a20c613ae5f732" title=" " alt="" coords="581,107,649,133"/>
<area shape="rect" href="printfmt_8c.html#ad7d3bbf7612143a989ce3e9d1bfebf87" title=" " alt="" coords="578,157,653,184"/>
<area shape="rect" href="printfmt_8c.html#a51595febac146e7d189948ebb27e6768" title=" " alt="" coords="575,208,656,235"/>
<area shape="rect" href="string_8c.html#a732f92b81474cfb653776be70bc7f1c7" title=" " alt="" coords="582,259,649,285"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="trap_8c_aa56d83a49e9166acf9e6a07358588321_icgraph.gif" border="0" usemap="#atrap_8c_aa56d83a49e9166acf9e6a07358588321_icgraph" alt=""/></div>
<map name="atrap_8c_aa56d83a49e9166acf9e6a07358588321_icgraph" id="atrap_8c_aa56d83a49e9166acf9e6a07358588321_icgraph">
<area shape="rect" title=" " alt="" coords="464,5,569,32"/>
<area shape="rect" href="trap_8c.html#a52ce92f648fa34b3877351b9f8240f98" title=" " alt="" coords="292,5,416,32"/>
<area shape="rect" href="trap_8c.html#a9b7dec2ed35d681fdbe2fe46afb695a5" title=" " alt="" coords="101,5,244,32"/>
<area shape="rect" href="trap_8c.html#a372d166e36c086c91e5f5d81e5fead3a" title=" " alt="" coords="5,5,53,32"/>
</map>
</div>

</div>
</div>
<a id="aed5fcbe1cf5c802e902b9e7a6ca527ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aed5fcbe1cf5c802e902b9e7a6ca527ab">&#9670;&nbsp;</a></span>print_regs()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void print_regs </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structpushregs.html">pushregs</a> *&#160;</td>
          <td class="paramname"><em>gpr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="trap_8c_aed5fcbe1cf5c802e902b9e7a6ca527ab_cgraph.gif" border="0" usemap="#atrap_8c_aed5fcbe1cf5c802e902b9e7a6ca527ab_cgraph" alt=""/></div>
<map name="atrap_8c_aed5fcbe1cf5c802e902b9e7a6ca527ab_cgraph" id="atrap_8c_aed5fcbe1cf5c802e902b9e7a6ca527ab_cgraph">
<area shape="rect" title=" " alt="" coords="5,132,92,159"/>
<area shape="rect" href="stdio_8c.html#ab5c1b009763ca6674c08b6241dad015c" title=" " alt="" coords="140,132,204,159"/>
<area shape="rect" href="stdio_8c.html#a6d5854f463c39b8d25aaa127b216832e" title=" " alt="" coords="252,132,324,159"/>
<area shape="rect" href="stdio_8c.html#ae98dcd3b1f9718f15a600d22a69a2e9a" title=" " alt="" coords="381,56,446,83"/>
<area shape="rect" href="printfmt_8c.html#a6434f2b779b5ede2adc31ee4f7d64198" title=" " alt="" coords="372,157,455,184"/>
<area shape="rect" href="console_8c.html#a9a405546ecd1991ece1431da216e64f2" title=" " alt="" coords="503,5,589,32"/>
<area shape="rect" href="sbi_8h.html#a99638b95984187102dd50b1d0b430d3b" title=" " alt="" coords="637,5,792,32"/>
<area shape="rect" href="printfmt_8c.html#a7b1e12e09f757ca234758afb4d704db8" title=" " alt="" coords="516,56,576,83"/>
<area shape="rect" href="printfmt_8c.html#a934736e8473edc7ac3a20c613ae5f732" title=" " alt="" coords="512,107,580,133"/>
<area shape="rect" href="printfmt_8c.html#ad7d3bbf7612143a989ce3e9d1bfebf87" title=" " alt="" coords="509,157,583,184"/>
<area shape="rect" href="printfmt_8c.html#a51595febac146e7d189948ebb27e6768" title=" " alt="" coords="505,208,587,235"/>
<area shape="rect" href="string_8c.html#a732f92b81474cfb653776be70bc7f1c7" title=" " alt="" coords="513,259,579,285"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="trap_8c_aed5fcbe1cf5c802e902b9e7a6ca527ab_icgraph.gif" border="0" usemap="#atrap_8c_aed5fcbe1cf5c802e902b9e7a6ca527ab_icgraph" alt=""/></div>
<map name="atrap_8c_aed5fcbe1cf5c802e902b9e7a6ca527ab_icgraph" id="atrap_8c_aed5fcbe1cf5c802e902b9e7a6ca527ab_icgraph">
<area shape="rect" title=" " alt="" coords="487,56,573,83"/>
<area shape="rect" href="trap_8c.html#a51e89e35288406d1ebf6a5d55a308d1e" title=" " alt="" coords="315,56,439,83"/>
<area shape="rect" href="trap_8c.html#a9b7dec2ed35d681fdbe2fe46afb695a5" title=" " alt="" coords="124,5,267,32"/>
<area shape="rect" href="trap_8c.html#ae7fe8b44139e05bbd2fdcdef5d616f3e" title=" " alt="" coords="128,56,263,83"/>
<area shape="rect" href="kmonitor_8c.html#a6177d3644de8ea1c9d62c73d3c047ff6" title=" " alt="" coords="155,107,236,133"/>
<area shape="rect" href="trap_8c.html#a372d166e36c086c91e5f5d81e5fead3a" title=" " alt="" coords="17,31,65,57"/>
<area shape="rect" href="assert_8h.html#aa31d39d7e957e5d6f5a7c1e193e1c992" title=" " alt="" coords="5,107,76,133"/>
</map>
</div>

</div>
</div>
<a id="a054a781fe22a8dd2742fd3e4198b0151"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a054a781fe22a8dd2742fd3e4198b0151">&#9670;&nbsp;</a></span>print_ticks()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void print_ticks </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="trap_8c_a054a781fe22a8dd2742fd3e4198b0151_cgraph.gif" border="0" usemap="#atrap_8c_a054a781fe22a8dd2742fd3e4198b0151_cgraph" alt=""/></div>
<map name="atrap_8c_a054a781fe22a8dd2742fd3e4198b0151_cgraph" id="atrap_8c_a054a781fe22a8dd2742fd3e4198b0151_cgraph">
<area shape="rect" title=" " alt="" coords="5,132,96,159"/>
<area shape="rect" href="stdio_8c.html#ab5c1b009763ca6674c08b6241dad015c" title=" " alt="" coords="144,132,208,159"/>
<area shape="rect" href="stdio_8c.html#a6d5854f463c39b8d25aaa127b216832e" title=" " alt="" coords="256,132,328,159"/>
<area shape="rect" href="stdio_8c.html#ae98dcd3b1f9718f15a600d22a69a2e9a" title=" " alt="" coords="385,56,450,83"/>
<area shape="rect" href="printfmt_8c.html#a6434f2b779b5ede2adc31ee4f7d64198" title=" " alt="" coords="376,157,459,184"/>
<area shape="rect" href="console_8c.html#a9a405546ecd1991ece1431da216e64f2" title=" " alt="" coords="507,5,593,32"/>
<area shape="rect" href="sbi_8h.html#a99638b95984187102dd50b1d0b430d3b" title=" " alt="" coords="641,5,796,32"/>
<area shape="rect" href="printfmt_8c.html#a7b1e12e09f757ca234758afb4d704db8" title=" " alt="" coords="520,56,580,83"/>
<area shape="rect" href="printfmt_8c.html#a934736e8473edc7ac3a20c613ae5f732" title=" " alt="" coords="516,107,584,133"/>
<area shape="rect" href="printfmt_8c.html#ad7d3bbf7612143a989ce3e9d1bfebf87" title=" " alt="" coords="513,157,587,184"/>
<area shape="rect" href="printfmt_8c.html#a51595febac146e7d189948ebb27e6768" title=" " alt="" coords="509,208,591,235"/>
<area shape="rect" href="string_8c.html#a732f92b81474cfb653776be70bc7f1c7" title=" " alt="" coords="517,259,583,285"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="trap_8c_a054a781fe22a8dd2742fd3e4198b0151_icgraph.gif" border="0" usemap="#atrap_8c_a054a781fe22a8dd2742fd3e4198b0151_icgraph" alt=""/></div>
<map name="atrap_8c_a054a781fe22a8dd2742fd3e4198b0151_icgraph" id="atrap_8c_a054a781fe22a8dd2742fd3e4198b0151_icgraph">
<area shape="rect" title=" " alt="" coords="284,5,375,32"/>
<area shape="rect" href="trap_8c.html#ae7fe8b44139e05bbd2fdcdef5d616f3e" title=" " alt="" coords="101,5,236,32"/>
<area shape="rect" href="trap_8c.html#a372d166e36c086c91e5f5d81e5fead3a" title=" " alt="" coords="5,5,53,32"/>
</map>
</div>

</div>
</div>
<a id="a51e89e35288406d1ebf6a5d55a308d1e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a51e89e35288406d1ebf6a5d55a308d1e">&#9670;&nbsp;</a></span>print_trapframe()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void print_trapframe </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structtrapframe.html">trapframe</a> *&#160;</td>
          <td class="paramname"><em>tf</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="trap_8c_a51e89e35288406d1ebf6a5d55a308d1e_cgraph.gif" border="0" usemap="#atrap_8c_a51e89e35288406d1ebf6a5d55a308d1e_cgraph" alt=""/></div>
<map name="atrap_8c_a51e89e35288406d1ebf6a5d55a308d1e_cgraph" id="atrap_8c_a51e89e35288406d1ebf6a5d55a308d1e_cgraph">
<area shape="rect" title=" " alt="" coords="5,132,129,159"/>
<area shape="rect" href="stdio_8c.html#ab5c1b009763ca6674c08b6241dad015c" title=" " alt="" coords="312,132,376,159"/>
<area shape="rect" href="trap_8c.html#aed5fcbe1cf5c802e902b9e7a6ca527ab" title=" " alt="" coords="177,157,264,184"/>
<area shape="rect" href="stdio_8c.html#a6d5854f463c39b8d25aaa127b216832e" title=" " alt="" coords="424,132,496,159"/>
<area shape="rect" href="stdio_8c.html#ae98dcd3b1f9718f15a600d22a69a2e9a" title=" " alt="" coords="553,56,618,83"/>
<area shape="rect" href="printfmt_8c.html#a6434f2b779b5ede2adc31ee4f7d64198" title=" " alt="" coords="544,157,627,184"/>
<area shape="rect" href="console_8c.html#a9a405546ecd1991ece1431da216e64f2" title=" " alt="" coords="675,5,761,32"/>
<area shape="rect" href="sbi_8h.html#a99638b95984187102dd50b1d0b430d3b" title=" " alt="" coords="809,5,964,32"/>
<area shape="rect" href="printfmt_8c.html#a7b1e12e09f757ca234758afb4d704db8" title=" " alt="" coords="688,56,748,83"/>
<area shape="rect" href="printfmt_8c.html#a934736e8473edc7ac3a20c613ae5f732" title=" " alt="" coords="684,107,752,133"/>
<area shape="rect" href="printfmt_8c.html#ad7d3bbf7612143a989ce3e9d1bfebf87" title=" " alt="" coords="681,157,755,184"/>
<area shape="rect" href="printfmt_8c.html#a51595febac146e7d189948ebb27e6768" title=" " alt="" coords="677,208,759,235"/>
<area shape="rect" href="string_8c.html#a732f92b81474cfb653776be70bc7f1c7" title=" " alt="" coords="685,259,751,285"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="trap_8c_a51e89e35288406d1ebf6a5d55a308d1e_icgraph.gif" border="0" usemap="#atrap_8c_a51e89e35288406d1ebf6a5d55a308d1e_icgraph" alt=""/></div>
<map name="atrap_8c_a51e89e35288406d1ebf6a5d55a308d1e_icgraph" id="atrap_8c_a51e89e35288406d1ebf6a5d55a308d1e_icgraph">
<area shape="rect" title=" " alt="" coords="315,56,439,83"/>
<area shape="rect" href="trap_8c.html#a9b7dec2ed35d681fdbe2fe46afb695a5" title=" " alt="" coords="124,5,267,32"/>
<area shape="rect" href="trap_8c.html#ae7fe8b44139e05bbd2fdcdef5d616f3e" title=" " alt="" coords="128,56,263,83"/>
<area shape="rect" href="kmonitor_8c.html#a6177d3644de8ea1c9d62c73d3c047ff6" title=" " alt="" coords="155,107,236,133"/>
<area shape="rect" href="trap_8c.html#a372d166e36c086c91e5f5d81e5fead3a" title=" " alt="" coords="17,31,65,57"/>
<area shape="rect" href="assert_8h.html#aa31d39d7e957e5d6f5a7c1e193e1c992" title=" " alt="" coords="5,107,76,133"/>
</map>
</div>

</div>
</div>
<a id="a372d166e36c086c91e5f5d81e5fead3a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a372d166e36c086c91e5f5d81e5fead3a">&#9670;&nbsp;</a></span>trap()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void trap </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structtrapframe.html">trapframe</a> *&#160;</td>
          <td class="paramname"><em>tf</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="trap_8c_a372d166e36c086c91e5f5d81e5fead3a_cgraph.gif" border="0" usemap="#atrap_8c_a372d166e36c086c91e5f5d81e5fead3a_cgraph" alt=""/></div>
<map name="atrap_8c_a372d166e36c086c91e5f5d81e5fead3a_cgraph" id="atrap_8c_a372d166e36c086c91e5f5d81e5fead3a_cgraph">
<area shape="rect" title=" " alt="" coords="5,778,53,805"/>
<area shape="rect" href="trap_8c.html#a9b7dec2ed35d681fdbe2fe46afb695a5" title=" " alt="" coords="101,677,244,703"/>
<area shape="rect" href="trap_8c.html#ae7fe8b44139e05bbd2fdcdef5d616f3e" title=" " alt="" coords="617,879,752,906"/>
<area shape="rect" href="stdio_8c.html#ab5c1b009763ca6674c08b6241dad015c" title=" " alt="" coords="1227,727,1291,754"/>
<area shape="rect" href="trap_8c.html#a52ce92f648fa34b3877351b9f8240f98" title=" " alt="" coords="292,601,416,627"/>
<area shape="rect" href="trap_8c.html#a51e89e35288406d1ebf6a5d55a308d1e" title=" " alt="" coords="823,727,947,754"/>
<area shape="rect" href="stdio_8c.html#a6d5854f463c39b8d25aaa127b216832e" title=" " alt="" coords="1384,727,1456,754"/>
<area shape="rect" href="stdio_8c.html#ae98dcd3b1f9718f15a600d22a69a2e9a" title=" " alt="" coords="1534,657,1599,683"/>
<area shape="rect" href="printfmt_8c.html#a6434f2b779b5ede2adc31ee4f7d64198" title=" " alt="" coords="1525,727,1608,754"/>
<area shape="rect" href="console_8c.html#a9a405546ecd1991ece1431da216e64f2" title=" " alt="" coords="1656,575,1743,602"/>
<area shape="rect" href="sbi_8h.html#a99638b95984187102dd50b1d0b430d3b" title=" " alt="" coords="1791,575,1945,602"/>
<area shape="rect" href="printfmt_8c.html#a7b1e12e09f757ca234758afb4d704db8" title=" " alt="" coords="1669,677,1729,703"/>
<area shape="rect" href="printfmt_8c.html#a934736e8473edc7ac3a20c613ae5f732" title=" " alt="" coords="1665,727,1733,754"/>
<area shape="rect" href="printfmt_8c.html#ad7d3bbf7612143a989ce3e9d1bfebf87" title=" " alt="" coords="1662,778,1737,805"/>
<area shape="rect" href="printfmt_8c.html#a51595febac146e7d189948ebb27e6768" title=" " alt="" coords="1659,829,1740,855"/>
<area shape="rect" href="string_8c.html#a732f92b81474cfb653776be70bc7f1c7" title=" " alt="" coords="1666,626,1733,653"/>
<area shape="rect" href="vmm_8c.html#a76083b4b497bc14110c89b222892e5a9" title=" " alt="" coords="471,474,562,501"/>
<area shape="rect" href="trap_8c.html#aa56d83a49e9166acf9e6a07358588321" title=" " alt="" coords="464,753,569,779"/>
<area shape="rect" href="vmm_8c.html#a453bc43e9e111b76d167f3e8fa3010ef" title=" " alt="" coords="643,550,726,577"/>
<area shape="rect" href="pmm_8c.html#a02acb8e4d598f04b9655befb6029d19c" title=" " alt="" coords="1224,373,1295,399"/>
<area shape="rect" href="pmm_8c.html#a6fa283dec28e3409f8f4b6d35860cb4b" title=" " alt="" coords="835,221,934,247"/>
<area shape="rect" href="pmm_8c.html#a682ec852da4ba9f942d14dd940c9dc50" title=" " alt="" coords="619,241,751,267"/>
<area shape="rect" href="swap_8c.html#ab3052457b47fe22e700ce9d6620b4485" title=" " alt="" coords="800,449,969,475"/>
<area shape="rect" href="swap_8c.html#af3058f8798ac6b061b6a6ca528ac9932" title=" " alt="" coords="1049,499,1124,526"/>
<area shape="rect" href="list_8h.html#a2a5579d68c706f9ed5103fef6efe8e0a" title=" " alt="" coords="845,550,924,577"/>
<area shape="rect" href="string_8c.html#a2be8ba378058c555790b0328c2500a63" title=" " alt="" coords="1382,403,1458,430"/>
<area shape="rect" href="pmm_8h.html#ab517d995357f15a4c66fb27a510eb374" title=" " alt="" coords="1527,454,1606,481"/>
<area shape="rect" href="pmm_8h.html#aaf54bae0ec07dff85b828139f157626d" title=" " alt="" coords="1656,302,1743,329"/>
<area shape="rect" href="pmm_8h.html#a90435beaeea486ae0208f68941db36a2" title=" " alt="" coords="1375,251,1465,278"/>
<area shape="rect" href="pmm_8h.html#a1e526abf140359344dbd9ea214f53694" title=" " alt="" coords="1367,353,1473,379"/>
<area shape="rect" href="pmm_8h.html#aae21a67a56c29b89be9fd3e8eef6a034" title=" " alt="" coords="1205,239,1314,266"/>
<area shape="rect" href="pmm_8h.html#a9ebfb8f851299c3580b73617eb99237b" title=" " alt="" coords="1034,94,1139,121"/>
<area shape="rect" href="pmm_8c.html#a047ec20d182919d237ee4bf278b4695b" title=" " alt="" coords="1017,145,1156,171"/>
<area shape="rect" href="pmm_8h.html#abd8a44beb459c14597658dbdc0e18881" title=" " alt="" coords="1218,131,1301,158"/>
<area shape="rect" href="pmm_8c.html#a3a6a3f83d69815b453aea9121f46a6ed" title=" " alt="" coords="1204,189,1315,215"/>
<area shape="rect" href="pmm_8h.html#ad8e136c060561748245105389a3a40c5" title=" " alt="" coords="1220,69,1299,95"/>
<area shape="rect" href="pmm_8h.html#a9eb3d05d35adc23aa957c07d5ef5ed4e" title=" " alt="" coords="1381,131,1459,158"/>
<area shape="rect" href="pmm_8h.html#af481d80989da3c646996210195814878" title=" " alt="" coords="1381,189,1459,215"/>
<area shape="rect" href="swapfs_8c.html#a351ae62e17ae15d0be227ee49b1b526f" title=" " alt="" coords="1207,505,1311,531"/>
<area shape="rect" href="ide_8c.html#aa3e3300bda460455ef67f4f0b7861e5f" title=" " alt="" coords="1363,555,1477,582"/>
<area shape="rect" href="pmm_8h.html#a3aa177386346f37eaadf16359ef44da7" title=" " alt="" coords="1377,505,1463,531"/>
<area shape="rect" href="string_8c.html#a18d9a75dd16f2db6609538cb4ddedaf1" title=" " alt="" coords="1527,555,1606,582"/>
<area shape="rect" href="trap_8c.html#ac7c9900010d48015646e0b362ae4957c" title=" " alt="" coords="627,753,742,779"/>
<area shape="rect" href="trap_8c.html#aed5fcbe1cf5c802e902b9e7a6ca527ab" title=" " alt="" coords="1043,753,1130,779"/>
<area shape="rect" href="clock_8c.html#a0064fb05d818581e3d12c5c017960715" title=" " alt="" coords="803,905,966,931"/>
<area shape="rect" href="trap_8c.html#a054a781fe22a8dd2742fd3e4198b0151" title=" " alt="" coords="1041,854,1132,881"/>
<area shape="rect" href="sbi_8h.html#acbd5e0e986d32c6eabf1909475a3ce6f" title=" " alt="" coords="829,955,940,982"/>
<area shape="rect" href="clock_8c.html#a71e720e6a1768a304f7244166ec8e042" title=" " alt="" coords="1041,905,1132,931"/>
<area shape="rect" href="sbi_8h.html#a07a40f8f344547fdc7396af43ea3f851" title=" " alt="" coords="1031,955,1142,982"/>
</map>
</div>

</div>
</div>
<a id="ac7c9900010d48015646e0b362ae4957c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac7c9900010d48015646e0b362ae4957c">&#9670;&nbsp;</a></span>trap_in_kernel()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="defs_8h.html#a1062901a7428fdd9c7f180f5e01ea056">bool</a> trap_in_kernel </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structtrapframe.html">trapframe</a> *&#160;</td>
          <td class="paramname"><em>tf</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="trap_8c_ac7c9900010d48015646e0b362ae4957c_icgraph.gif" border="0" usemap="#atrap_8c_ac7c9900010d48015646e0b362ae4957c_icgraph" alt=""/></div>
<map name="atrap_8c_ac7c9900010d48015646e0b362ae4957c_icgraph" id="atrap_8c_ac7c9900010d48015646e0b362ae4957c_icgraph">
<area shape="rect" title=" " alt="" coords="617,5,732,32"/>
<area shape="rect" href="trap_8c.html#aa56d83a49e9166acf9e6a07358588321" title=" " alt="" coords="464,5,569,32"/>
<area shape="rect" href="trap_8c.html#a52ce92f648fa34b3877351b9f8240f98" title=" " alt="" coords="292,5,416,32"/>
<area shape="rect" href="trap_8c.html#a9b7dec2ed35d681fdbe2fe46afb695a5" title=" " alt="" coords="101,5,244,32"/>
<area shape="rect" href="trap_8c.html#a372d166e36c086c91e5f5d81e5fead3a" title=" " alt="" coords="5,5,53,32"/>
</map>
</div>

</div>
</div>
<h2 class="groupheader">变量说明</h2>
<a id="a87e75b265002e137d80386653305d70a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a87e75b265002e137d80386653305d70a">&#9670;&nbsp;</a></span>check_mm_struct</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structmm__struct.html">mm_struct</a>* check_mm_struct</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">extern</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a9dd14a5d82c2ca25ef47e6744d61d39b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9dd14a5d82c2ca25ef47e6744d61d39b">&#9670;&nbsp;</a></span>in_swap_tick_event</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">volatile int in_swap_tick_event = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a88bf41b5c89592099afe02c4c5f68c4c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a88bf41b5c89592099afe02c4c5f68c4c">&#9670;&nbsp;</a></span>num</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">volatile <a class="el" href="defs_8h.html#afeaa5ef46acd844422607ca6602691ef">size_t</a> num = 0</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
